script must be run in game folder and a folder Names D must be there 

SET SCRIPT_LOCATION=%~dp0
echo Executing Script in %SCRIPT_LOCATION%
subst /D D:
subst D: "%SCRIPT_LOCATION%\D"